package com.matt.domain;

import com.matt.commons.model.Domain;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;


@Data
@Entity
@Table(name = "tb_work_place")
@EqualsAndHashCode(callSuper = true)
public class WorkPlace extends Domain {

    @Column(columnDefinition = " varchar(50) COMMENT '角色:园长-ROLE_GARDEN_LEADER 儿保-ROLE_DOCTOR 老师-ROLE_TEACHER 销售-ROLE_BUSINESS' ")
    private String roleCode;

    @Column(columnDefinition = " varchar(100) COMMENT '跳转地址' ")
    private String title;

    @Column(columnDefinition = " varchar(1024) COMMENT '投诉内容' ")
    private String actionUrl;

    @Column(columnDefinition="int COMMENT '排序'")
    private Integer orderNum;

    @Column(columnDefinition = " varchar(64) COMMENT '工作台编码' ")
    private String code;

    @Column(columnDefinition = "int COMMENT '开始支持的api版本' ")
    private Integer apiVersion;

    @Column(columnDefinition = "varchar(64) COMMENT '支持的appid' ")
    private String appid;

//    @Transient
//    private RedPointTypeDO redPoint;

}
